package com.zwz.resp.annualReports;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BidRecord {
    @JsonProperty("biddingId")
    private String bidId;

    @JsonProperty("biddingRegion")
    private Region bidRegion;

    @JsonProperty("cooperationTimes")
    private Integer collaborationCount;

    @JsonProperty("customName")
    private String clientName;

    @JsonProperty("biddingTitle")
    private String projectTitle;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("anncPubTime")
    private Date announcementDate;

    @JsonProperty("totalAmount")
    private Double contractValue;  // 允许null

    @JsonProperty("customId")
    private String clientId;

    @JsonProperty("biddingProjectType")
    private String projectCategory;

    @JsonProperty("customAddress")
    private Region clientAddress;

    public String getBidId() {
        return this.bidId;
    }

    public void setBidId(String bidId) {
        this.bidId = bidId;
    }

    public Region getBidRegion() {
        return this.bidRegion;
    }

    public void setBidRegion(Region bidRegion) {
        this.bidRegion = bidRegion;
    }

    public Integer getCollaborationCount() {
        return this.collaborationCount;
    }

    public void setCollaborationCount(Integer collaborationCount) {
        this.collaborationCount = collaborationCount;
    }

    public String getClientName() {
        return this.clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getProjectTitle() {
        return this.projectTitle;
    }

    public void setProjectTitle(String projectTitle) {
        this.projectTitle = projectTitle;
    }

    public Date getAnnouncementDate() {
        return this.announcementDate;
    }

    public void setAnnouncementDate(Date announcementDate) {
        this.announcementDate = announcementDate;
    }

    public Double getContractValue() {
        return this.contractValue;
    }

    public void setContractValue(Double contractValue) {
        this.contractValue = contractValue;
    }

    public String getClientId() {
        return this.clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getProjectCategory() {
        return this.projectCategory;
    }

    public void setProjectCategory(String projectCategory) {
        this.projectCategory = projectCategory;
    }

    public Region getClientAddress() {
        return this.clientAddress;
    }

    public void setClientAddress(Region clientAddress) {
        this.clientAddress = clientAddress;
    }


}